package trainfengxing.mapper;

import org.apache.ibatis.annotations.Mapper;
import trainfengxing.pojo.HotelBooking;

import java.util.List;

@Mapper
public interface HotelBookingMapper {
    List<HotelBooking> getAllBookings();
    HotelBooking getBookingById(Integer bookingID);
    void addBooking(HotelBooking booking);
    void updateBooking(HotelBooking booking);
    void deleteBooking(Integer bookingID);
    List<HotelBooking> getBookingsByUserId(Integer userID);
}